﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AutoBackupDatabase.DAL;
using AutoBackupDatabase.ENT;
using System.Data;
namespace AutoBackupDatabase.BLL
{
    public class EXPORTDETAILBLL
    {
        private EXPORTDETAILDAL expDAL;
         public EXPORTDETAILBLL()
       {
           expDAL = new EXPORTDETAILDAL();
       }

         public List<EXPORTDETAILENT> GETDETAILEXPORTBYTABLEID(int tableId)
         {
             return expDAL.GETDETAILEXPORTBYTABLEID(tableId);

         }
         public List<EXPORTDETAILENT> GETDETAILEXPORTBYEXPORTID(string exportId)
         {
             return expDAL.GETDETAILEXPORTBYEXPORTID(exportId);

         }

         public bool UPDATEDISCOUNTFORITEM(string exportID, int itemId, float itemDiscount)
         {
             return expDAL.UPDATEDISCOUNTFORITEM(exportID,itemId,itemDiscount);
         }
    }
}
